<% if conference.partners.any? %>
  <% conference.partners.group_by(&:partner_type).each do |partner_type, partners| %>
    <section id="conference-partners-<%= partner_type %>" class="content-block">
      <h2 class="h2 decorator"><%= t(".#{partner_type.pluralize}") %></h2>
      <div class="conference__grid">
        <% partners.each do |partner| %>
          <%= cell "decidim/conferences/partner", partner %>
        <% end %>
      </div>
    </section>
  <% end %>
<% end %>
